package com.heo.queue.task;

import com.heo.pojo.DeviceInfoEntity;
import com.heo.protocol.packet.BasePacket;

public class ReceiveTask
{
  private BasePacket basePacket;//收到的设备发过来的指令包
  private DeviceInfoEntity deviceInfoEntity;//当前设备对象
  
  public ReceiveTask(BasePacket basePacket,DeviceInfoEntity deviceInfoEntity)
  {
    this.basePacket = basePacket;
    this.deviceInfoEntity = deviceInfoEntity;
  }
  
  public BasePacket getBasePacket()
  {
    return basePacket;
  }
  public void setBasePacket(BasePacket basePacket)
  {
    this.basePacket = basePacket;
  }

  public DeviceInfoEntity getDeviceInfoEntity()
  {
    return deviceInfoEntity;
  }

  public void setDeviceInfoEntity(DeviceInfoEntity deviceInfoEntity)
  {
    this.deviceInfoEntity = deviceInfoEntity;
  }
  
}
